class China_slope 
  def  create_from_edge (edge)
   model=Sketchup.active_model
pt=edge.end.position

trans=Geom::Transformation.new(pt)
    china_slope = China_slope.new
   @entity= china_slope.create_entity(model)
   @entity.transformation = trans
  end
end
